<div ng-controller="shopSetCtrl">
    <!-- <form role="form" method="post" class="reservation-form" id="reservation-form" action="assets/reservation-form/reservation.php"> -->
    <!-- <form class="reservation-form" id="reservation-form"> -->
    <form ref='uploadForm' id='uploadForm' action='/api/saveShopdata' method='post' encType="multipart/form-data" class="reservation-form">
        <div class="row">
            <div class="col-sm-6">
                <label>店铺名称</label>
                <div class="input-group date">
                    <input type="text" class="form-control datepicker" name="shop_name" placeholder="请输入店铺名称" ng-model="shopData.name">
                    <div class="input-group-addon">
                        <span class="glyphicon glyphicon-home"></span>
                    </div>
                </div>
            </div>
            <div class="col-sm-6">
                <label>联系电话</label>
                <div class="input-group">
                    <input type="text" class="form-control " name="telephone" id="telephone" placeholder="请输入联系电话" ng-model="shopData.tele_phone">
                    <div class="input-group-addon">
                        <span class="glyphicon glyphicon-phone"></span>
                    </div>
                </div>
            </div>
        </div>
        <div class="row">
            <div class="col-sm-6">
                <label>桌位设置</label>
                <div class="input-group">
                    <input type="text" class="form-control" name="table_num" id="table_num" placeholder="请输入桌号" ng-model="shopData.num">
                    <div class="input-group-addon">
                        <span class="glyphicon glyphicon-cutlery"></span>
                    </div>
                </div>
            </div>
            <div class="col-sm-6">
                <label>店铺LOGO</label>
                <div class="input-group">
                    <input type="text" class="form-control" name="r_time" id="r_time" placeholder="请上传店铺LOGO" ng-model="shopData.img">
                    <a href="javascript:;" id="quickdelete" title="清空" class="quickdelete" style="top: 0px;right: 0px;"></a>
                    <span class="input-group-addon">
                        <!-- <input id='hiddenFilePhotos' accept="image/bmp, image/png, image/tiff, image/gif, image/jpeg" type="file" nv-file-select="" uploader="uploaderImage" ng-show="" ng-click="checkImg()"/> -->
                        <input type="file" name="shopImage" id='hiddenFilePhotos' accept="image/bmp, image/png, image/tiff, image/gif, image/jpeg" ng-show=""/>
                        <div onclick="javascript: $('#hiddenFilePhotos').click();" class="mousehand">
                            <span class="glyphicon glyphicon-open"></span>
                            <a style="color: black;">点击上传</a>
                        </div>
                    </span>
                </div>
                
            </div>
        </div>
        <div class="row" style="padding-right: 15px;padding-left: 15px;">
            <label>店铺地址</label>
            <div class="input-group">
                <input type="text" class="form-control" name="address" id="address" placeholder="请输入地址" ng-model="shopData.address">
                <div class="input-group-addon">
                    <span class="glyphicon glyphicon-map-marker"></span>
                </div>
            </div>
        </div>
        <input type="text" name="id" ng-model="shopData.id" ng-show="">
        <input type="submit" class="btn btn-xl btn-dark btn-block" name="r_submit" value="提交">
        <div id="r_result"></div>  
    </form>
    

    <!-- <form class="form-horizontal" name="form">
        <div class="form-line">
            <label>请选择证书文件：</label><span class="small-tip">证书文件只支持.pem格式，文件大小1M以内</span>
            <div class="choose-file-area">
                <input class="file-name" type="text" readonly="readonly" ng-model="fileItem.name"/>
                <a href="javascript:;" class="choose-book">
                    <input type="file" name="certificate" nv-file-select uploader="uploader" ng-click="clearItems()"/>浏览
                </a>
            </div>
        </div>
        <button type="submit" ng-click="UploadFile()">提交</button>
    </form> -->


</div>